package com.bootdo.xiao.suggest;

import java.util.Random;

/**
 * @Auther: liuj
 * @Date: 2019/5/22 16:58
 * @Description:建议2：让常量蜕变成变量
 */
public class Suggest2 {
    public static void main(String[] args){
        System.out.println(Const.RAND_CONST);
    }
}

interface Const{
    public static final int RAND_CONST = new Random().nextInt(100);
}
